//
//  LGStyleView.m
//  LuxuryGoods
//
//  Created by 宋柯 on 2018/5/23.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "LGStyleView.h"
#import "LGItemModel.h"
#import "UIImageView+WebCache.h"

@implementation LGStyleView

- (void)awakeFromNib
{
    [super awakeFromNib];
    
}

- (void)setstyleViewWithItemModel:(LGItemModel *)item
{
    self.styleLabel.text = item.title;
    self.detailLabel.text = item.subtitle;
    
    [self.ImageView sd_setImageWithURL:[NSURL URLWithString:item.item_img]];
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
